namespace Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Address")]
    public partial class Address
    {
        public int Id { get; set; }

        [Required]
        [StringLength(50)]
        public string Nam { get; set; }

        [Required]
        [StringLength(32)]
        public string Province { get; set; }

        [Required]
        [StringLength(32)]
        public string City { get; set; }

        [Required]
        [StringLength(32)]
        public string District { get; set; }

        [Required]
        [StringLength(32)]
        public string Information { get; set; }

        [Required]
        [StringLength(32)]
        public string Phone { get; set; }

        [Required]
        [StringLength(10)]
        public string IsDefault { get; set; }

        public DateTime CreateTime { get; set; }

        public int Custid { get; set; }
    }
}
